package proxystate;

import statesPattern.State;

/**
 * 为监视器编码
 */
public class GumballMachine {
    String location;
    int count;
    State state;

    public GumballMachine(String location,int count) {
        this.location = location;
        this.count = count;
    }

    public String getLocation() {
        return location;
    }

    public int getCount() {
        return count;
    }



    public void setState(State state) {
        this.state = state;
    }

    public State getState() {
        return state;
    }
}
